<template>

<div>
    <div class="item">用户名:  {{admin.username}}</div>
    <div class="item">电话:   {{admin.phone}}</div>
    <div class="item">邮箱:   {{admin.email}}</div>
    <div class="item">身份:   {{admin.identity}}</div>

</div>
</template>

<script>
import Cookies from 'js-cookie'
import request from "@/util/request";
export  default {
    data(){
        return{
            admin:Cookies.get('admin')?JSON.parse(Cookies.get('admin')):{}
        }
    },
    created() {

    },

}
</script>
<style>
    .item{
        margin: 10px 0;
        color: #42b983;
        font-size:25px ;
    }
</style>
